package com.jurenzhao.partssystem.information.cars.entity;

public class CarParts {
    private Integer pieceId;

    private String pieceName;

    private String pieceEname;

    private String piecePic;

    private Integer pieceNum;

    private String pieceSupply;

    private String supplyAddress;

    private String supplyPerson;

    private Float priceDan;

    private Float priceCai;
    //存放配件类型对象
    private PartsType type;

    private String supplyTel;

    public Integer getPieceId() {
        return pieceId;
    }

    public void setPieceId(Integer pieceId) {
        this.pieceId = pieceId;
    }

    public String getPieceName() {
        return pieceName;
    }

    public void setPieceName(String pieceName) {
        this.pieceName = pieceName;
    }

    public String getPieceEname() {
        return pieceEname;
    }

    public void setPieceEname(String pieceEname) {
        this.pieceEname = pieceEname;
    }

    public String getPiecePic() {
        return piecePic;
    }

    public void setPiecePic(String piecePic) {
        this.piecePic = piecePic;
    }

    public Integer getPieceNum() {
        return pieceNum;
    }

    public void setPieceNum(Integer pieceNum) {
        this.pieceNum = pieceNum;
    }

    public String getPieceSupply() {
        return pieceSupply;
    }

    public void setPieceSupply(String pieceSupply) {
        this.pieceSupply = pieceSupply;
    }

    public String getSupplyAddress() {
        return supplyAddress;
    }

    public void setSupplyAddress(String supplyAddress) {
        this.supplyAddress = supplyAddress;
    }

    public String getSupplyPerson() {
        return supplyPerson;
    }

    public void setSupplyPerson(String supplyPerson) {
        this.supplyPerson = supplyPerson;
    }

    public Float getPriceDan() {
        return priceDan;
    }

    public void setPriceDan(Float priceDan) {
        this.priceDan = priceDan;
    }

    public Float getPriceCai() {
        return priceCai;
    }

    public void setPriceCai(Float priceCai) {
        this.priceCai = priceCai;
    }

    public PartsType getType() {
        return type;
    }

    public void setType(PartsType type) {
        this.type = type;
    }

    public String getSupplyTel() {
        return supplyTel;
    }

    public void setSupplyTel(String supplyTel) {
        this.supplyTel = supplyTel;
    }

    @Override
    public String toString() {
        return "CarParts{" +
                "pieceId=" + pieceId +
                ", pieceName='" + pieceName + '\'' +
                ", pieceEname='" + pieceEname + '\'' +
                ", piecePic='" + piecePic + '\'' +
                ", pieceNum=" + pieceNum +
                ", pieceSupply='" + pieceSupply + '\'' +
                ", supplyAddress='" + supplyAddress + '\'' +
                ", supplyPerson='" + supplyPerson + '\'' +
                ", priceDan=" + priceDan +
                ", priceCai=" + priceCai +
                ", type=" + type +
                ", supplyTel='" + supplyTel + '\'' +
                '}';
    }
}